//
//  CYRechargeTipLBL.m
//  CaiYun
//
//  Created by 今日信息科技 on 2017/9/29.
//  Copyright © 2017年 今日信息科技. All rights reserved.
//

#import "CYRechargeTipLBL.h"

@implementation CYRechargeTipLBL
//- (CGRect)textRectForBounds:(CGRect)bounds limitedToNumberOfLines:(NSInteger)numberOfLines {
//  UIEdgeInsets insets = {AL(10), AL(10), AL(10), AL(10)};
//    CGRect rect = [super textRectForBounds:UIEdgeInsetsInsetRect(bounds, insets)
//                    limitedToNumberOfLines:numberOfLines];
//    
//    rect.origin.x    -= insets.left;
//    rect.origin.y    -= insets.top;
//    rect.size.width  += (insets.left + insets.right);
//    rect.size.height += (insets.top + insets.bottom);
//    
//    return rect;
//}

- (void)drawTextInRect:(CGRect)rect {
    UIEdgeInsets insets = {AL(10), AL(10), AL(10), AL(10)};
    [super drawTextInRect:UIEdgeInsetsInsetRect(rect, insets)];
}

// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.


@end
